package net.oschina.bilbodai.common.retrofitor.support;

import net.oschina.bilbodai.common.retrofitor.annotation.HttpService;
import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Path;

import java.util.List;

/**
 * @author daimao  Date: 16/4/14 Time: 下午4:19
 * @version $Id$
 */
@HttpService(baseUrl = "https://api.github.com/")
public interface HelloService {

    @GET("users/{user}/repos")
    Call<List> listRepos(@Path("user") String user);
}
